package com.sdry.product.sorting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sdry.product.sorting.entity.SortReceiving;

import java.util.List;

public interface SortReceivingMapper extends BaseMapper<SortReceiving> {
    /**
     * 分页
     * @param sortReceiving
     * @return
     */
    List<SortReceiving> queryWarehousingPage(SortReceiving sortReceiving);

    /**
     * 总数
     * @param sortReceiving
     * @return
     */
    Long queryWarehousingTotal(SortReceiving sortReceiving);

    /**
     * 各区域库存
      * @param psId
     * @return
     */
    Long queryStockTotal(String psId);
}
